<!-- begin #sidebar -->
<div id="sidebar" class="sidebar">
    <!-- begin sidebar scrollbar -->
    <div data-scrollbar="true" data-height="100%">
        <!-- begin sidebar user -->
        <ul class="nav">
            <li class="nav-profile">
                <div class="image">
                    <a href="javascript:;"><img v-bind:src="cp_user_img" alt=""/></a>
                </div>
                <div class="info">
                    <span>{{cp_username}}</span>
                    <small>{{cp_intro}}</small>
                </div>
            </li>
        </ul>
        <!-- end sidebar user -->
        <!-- begin sidebar nav -->
        <ul class="nav">
            <li class="nav-header">左侧菜单栏</li>
            {foreach $adminMenu as $v}
            <li {if condition="$Request.module == $v['module'] && $Request.controller == $v['controller']"}class="{$v['open']}"{else/}class="{$v['close']}"{/if}>
                {foreach $v['live_2'] as $v2}
                <a href="javascript:;">
                    <b class="caret pull-right"></b>
                    <i class="{$v2['ico']}"></i>
                    <span>{$v2['name']} <span class="label label-theme m-l-5">{$v2['newName']}</span></span>
                </a>
                <ul class="sub-menu {if condition="$Request.action == $v2['action'] && $Request.controller == $v2['controller']"}active{/if}">
                    {if condition="$v2['live_3']"}
                    {foreach $v2['live_3'] as $v3}
                    <li {if condition="$Request.action == $v3['action'] && $Request.controller == $v3['controller']"}class="active"{/if}><a href="{$v3['url']}">{$v3['name']}</a></li>
                    {/foreach}
                    {/if}
                </ul>
                {/foreach}
            </li>
            {/foreach}

            <!--左侧收缩按钮 START -->
            <li><a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify" title="点击收缩"><i class="fa fa-angle-double-left"></i></a></li>
            <!-- 左侧收缩按钮 END -->
        </ul>
        <!-- end sidebar nav -->
    </div>
    <!-- end sidebar scrollbar -->
</div>
<div class="sidebar-bg"></div>
<!-- end #sidebar -->